<template>
    <div>
        <label><slot></slot></label>
        <input :type="type"
            :value="value"
            @input="$emit('input',$event.target.value)"
            @blur="$emit('validate',$event)"
        >
        <span>{{ info }}</span>
    </div>
</template>
<script>
export default {
    props:["type","info","value"]
}
</script>
<style></style>